<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-mesChkResult-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品名称：</label>
				<div class="col-sm-8">
					<input id="productName" name="productName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">  产品编码：</label>
				<div class="col-sm-8">
					<input id="produUid" name="produUid" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序名称：</label>
				<div class="col-sm-8">
					<input id="opName" name="opName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序编号：</label>
				<div class="col-sm-8">
					<input id="opCode" name="opCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位编号：</label>
				<div class="col-sm-8">
					<input id="workstationCode" name="workstationCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项编码：</label>
				<div class="col-sm-8">
					<input id="citemCode" name="citemCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">  检测项名称：</label>
				<div class="col-sm-8">
					<input id="citemName" name="citemName" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">  检测项说明：</label>
				<div class="col-sm-8">
					<input id="citemRemark" name="citemRemark" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项类型(0定性检测1定量检测2附加信息)：</label>
				<div class="col-sm-8">
					<input id="checkModel" name="checkModel" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">  定量检测项值（定量检测）：</label>
				<div class="col-sm-8">
					<input id="chkValue" name="chkValue" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">定性检测结果(1不合格、7合格)：</label>
				<div class="col-sm-8">
					<input id="chkResult" name="chkResult" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">2附加信息结果：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">特殊编码：</label>
				<div class="col-sm-8">
					<input id="specialCode" name="specialCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">检测项分组：</label>
				<div class="col-sm-8">
					<input id="checkGroup" name="checkGroup" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">标志位：</label>
				<div class="col-sm-8">
					<input id="flag" name="flag" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">派工单编号：</label>
				<div class="col-sm-8">
					<input id="dispatchCode" name="dispatchCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">${column.columnComment}：</label>
				<div class="col-sm-8">
					<input id="gid" name="gid" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/mesChkResult"
		$("#form-mesChkResult-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-mesChkResult-add').serialize());
	        }
	    }
	</script>
</body>
</html>
